<%@ page contentType="text/html;charset=UTF-8"%>
<!-- 店铺 -->
<div id="auOrgDiv" class="hide">
	<form id="auOrgForm" method="POST" onsubmit="return false;">
		<table cellspacing="0" cellpadding="0" border="0" class="customTable"
			style="width: 350px !important;">
			<tbody>
				<tr style="display: none">
					<td colspan="2" class="ui-state-error"><input type="hidden"	name="store_id"></td>
				</tr>
				<tr class="FormData">
					<td class="CaptionTD"><font color="red">*</font>店铺名称：</td>
					<td class="DataTD">&nbsp; <input type="text"	jyValidate="required" maxlength="25" name="store_name"	class="FormElement ui-widget-content ui-corner-all"></td>
				</tr>
				<tr class="FormData">
					<td class="CaptionTD"><font color="red">*</font>店铺号码：</td>
					<td class="DataTD">&nbsp; <input type="text" jyValidate="tels"	maxlength="11" name="store_phone"	class="FormElement ui-widget-content ui-corner-all"></td>
				</tr>
				<tr class="FormData">
					<td class="CaptionTD">店铺描述：</td>
					<td class="DataTD">&nbsp; <textarea rows="2" cols="10"	maxlength="100" name="store_desc" multiline="true"	class="FormElement ui-widget-content ui-corner-all isSelect147"></textarea>
					</td>
				</tr>
			</tbody>
		</table>
	</form>
</div>
<!-- 网点 -->
<div id="auDiv" class="hide">
		<form class="inpform" id="auForm" enctype="multipart/form-data" onsubmit="return false;">
			<table cellspacing="0" cellpadding="0" border="0" class="customTable" style="width:550px">
				<tbody>
					<tr style="display:none">
						<td colspan="2" class="ui-state-error">
							<input type="hidden" name="dot_id" >
							<input type="hidden" name="store_id" >
						</td>
					</tr>
					<tr class="FormData">
						<td class="CaptionTD"><font color="red">*</font>网点名称：</td>
						<td class="DataTD">&nbsp;
						<input type="text" jyValidate="required"  maxlength="25" name="dot_name" class="w80"/></td>
					</tr>	
					<tr class="FormData">
						<td class="CaptionTD"><font color="red">*</font>网点banner：</td>
						<td class="DataTD" colspan="3" style="padding:6px 6px 6px 7px;">
							<input  type="hidden" name="picID"/><!-- 图片id -->
                            <input type="hidden" name="status" /><!-- 修改时所用的数组0,1,2 -->
							<div class="img_divs" id="img_divs">
                           		<div class="img_zs">
                           			<div class="img_cont">
                           				<div class="top text-FF0000"><i class="red" style="margin-right:3px;">*</i>头像(正方形)</div>
										<div class="foot">
											<div class="img_show" id="img_show0"><img src="${jypath}/static/images/back/lg_add2z.png"/></div>
											<input class="img_file" name="file" type="file" accept="image/*" onchange="preview(this,0)" jyValidate="required" />
										</div>
                           			</div>
								</div>
                           	</div>
                            <button type="button" class="btn btn-warning  btn-xs btn-primary" onclick="add_input()" style="margin: 1px">新增</button>
						</td>
					</tr>
					<tr class="FormData">
						<td class="CaptionTD"><font color="red">*</font>所在城市：</td>
						<td class="DataTD" colspan="3"  style="padding:6px 6px 6px 7px;">					
							 <div id="distpicker" style="width: 400px;display: inline-block;margin: 1px;">
			                    <div style="position: relative;width:300px !important;display: inline-block;float: left;">
			                        <input id="city-picker3" class="form-control" readonly type="text"  data-toggle="city-picker" >
			                        <input type="text" name="dot_city"  jyValidate="required" style="opacity:0;position: absolute;z-index:-1;top: 0;left: 0;">
			                    </div>
			                    <button class="btn btn-warning  btn-xs" id="reset" type="button" style="float: left;margin-top: 5px;"><i class='icon-remove bigger-120'></i></button>
				           </div>					
						</td>
					</tr>
					<tr class="FormData">
						<td class="CaptionTD">所在街道：</td>
						<td class="DataTD">&nbsp;
						<input type="text" maxlength="25" class="w80" name="dot_street"></td>
					</tr>
					<tr class="FormData">
						<td class="CaptionTD"><font color="red">*</font>详细地址：</td>
						<td class="DataTD" colspan="3">&nbsp;
						<input type="text" jyValidate="required" maxlength="25" name="dot_number" class="w80" ></td>
					</tr>
					<tr class="FormData">
						<td class="CaptionTD"><font color="red">*</font>联系电话：</td>
						<td class="DataTD">&nbsp;
						<input type="text" jyValidate="tels"	maxlength="11" class="w80" name="dot_phone"></td>
					</tr>
					<tr class="FormData">
						<td class="CaptionTD">网点描述：</td>
						<td class="DataTD" colspan="3">&nbsp;
						<textarea rows="3"  maxlength="100" name="dot_desc" multiline="true" class="w80"  style="resize:none" ></textarea>
						</td>
					</tr>
				</tbody>
			</table>
		</form>
</div>